#ifndef	__PTM_STORAGE_H__
#define	__PTM_STORAGE_H__

#include "storage_api.h"
#ifdef _WIN32
#include "crossplat_def.h"
#else
#include <pthread.h>
#endif

#define SUPPORT_CLIENT_NUM 4
#define MAIN_VI_NUMS       1

#ifdef __cplusplus
extern "C" {
#endif
//int storage_entry(void* arg);
int  start_storage(int stream_num,const char* disk_name);
extern void parse_cmd(char *received_cmd);
extern int storage_cmd_func(char * cmd_name,char * cmd_pram);
void set_lua_path(char * lua);
void show_record_percent(int isEnable);
void set_record_bit(int sw_bit);
void set_extern_rec(int is_extern_rec);
void set_record_dir(const char* rec_dir);
#ifdef __cplusplus
}
#endif
extern unsigned int g_record_switch;
extern unsigned int g_replay_channel;

//#define _SIMULATE_RECORD_
#endif

